﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fkls.aspx.cs" Inherits="GPCSC.Web.sjs.fkls" %>

<%@ Register assembly="NickLee.Web.UI" namespace="NickLee.Web.UI" tagprefix="NickLee" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
       <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
          <link href="../Css/main.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="../scripts/jquery-1.6.2.min.js"></script>
            <script type ="text/javascript" src ="../scripts/datepicker/WdatePicker.js"></script>
             <link href="../Css/main.css" rel="stylesheet" type="text/css" />
             <style>
                 .table
                 {
                     width:100%;
                     margin-left:20px;
                     margin-right:20px;
                     
                     
                     }
             .td
             {
                 margin:50px;
                 font:  12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
                 color: #0161a1; 
                 text-align:center;
                 
                }
                .td img
                {
                    cursor:pointer;
                    }
             </style>
          <script>
              function bs() {

                  var checks = $("input[type='checkbox']");
                  if (checks.length > 0) {
                      for (var i = 0; i < checks.length; i++) {
                          if (checks[i].checked == true) {
                              document.getElementById("bsids").value += checks[i].value + "|";
                          }
                      }
                  }

                  var bsids = document.getElementById("bsids").value;
                  if (bsids == "") {
                      alert("请选择反馈表！");
                  }
                  else {
                      LCallBack.Callback(bsids);
                  }
              }
              function opne(ids, types, BS) {
                  //                  alert(BS);
                  //alert(types);
                  if (BS == "1") {
                      window.open("../CM/nchdxs.aspx?type=" + types + "&ids=" + ids + "&BS=" + BS);
                  }
                  else {
                      if (types == "1") {
                          window.open("../CM/ncs.aspx?ids=" + ids);
                      }
                      else if (types == "3") {
                          window.open("../CM/QYS.aspx?ids=" + ids);
                      }
                      else if (types == "2") {
                          window.open("../CM/SQS.aspx?ids=" + ids);
                      }
                  }
              }
              $(document).ready(
                function () {
                    $("td").addClass("td");
                    $("table").addClass("table");

                }
              );

              function LCallBack_onCallbackComplete() {
                  $("td").addClass("td");
                  $("table").addClass("table");
              }
              function sel() {
                  var name = $("#lgname").val();
                  var date = $("#date").val();
                  var zt = $("#bszt").val();
                  //                    alert(name + date + zt);
                  LCallBack.Callback("5", name, date, zt);
              }

              function dels(e) {
                
//                  var ids = $(e).attr("del");
                  //                  LCallBack.Callback("del",ids);
                  document.getElementById("diss").value = $(e).attr("del");
                  document.getElementById("type").value = $(e).attr("type");
//                  alert($(e).attr("type"));
                  locking();
              }

              function locking() {
                  document.all.ly.style.display = "block";
//                  document.all.ly.style.width = document.body.clientWidth;
                  //document.all.ly.style.height = document.body.clientHeight;
                  document.all.ly.style.width = document.body.scrollWidth;
                  document.all.ly.style.height = document.body.scrollHeight;
//                  document.all.Layer2.style.top = document.body.clientWidth / 2;
//                  document.all.Layer2.style.left = document.body.clientHeight / 2;
                  document.all.Layer2.style.display = 'block';
              }
              function Lock_CheckForm() {

                  document.all.ly.style.display = 'none';
                  document.all.Layer2.style.display = 'none';
              }
              function delss() {
                  var ids = $("#diss").val();
                  var type = $("#type").val();
                                  LCallBack.Callback("del", ids,type);
                                  Lock_CheckForm();
              }
          </script>
          
</head>
<body>
    <form id="form1" runat="server">
    <div>
<%-- <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="29" background="../Images/1.gif"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="300" class="tittle" style=" text-align:left">当前位置：报送活动进展反馈表</td>
      </tr>
    </table></td>
  </tr>
</table>--%>
       <%--  <div  style=" width:100%; text-align:center; margin:0px;" class="td">
         <input type="text" id="bsids" runat="server"  style=" display:none"/>
         领导人名称：<input type="text" id="lgname" />
         填写时间：<input type="text" id="date" />
          <img  style="margin-bottom:0px;"  src="../Images/calendar.gif"  onclick="WdatePicker({el:'date'})"/>
         报送状态：<select id="bszt">
            <option value="0" selected="selected">未报送</option>
            <option value="1">已报送</option>         
         </select>
         <input type="button" class="buttonCss" value=" 搜索"  onclick="sel()" />
         <input type ="button" class="buttonCss" value="报送"  onclick="bs()" />
         </div>--%>
            <nicklee:CallBack runat="server" ID="LCallBack" OnCallback="LCallBack_Callback" PostState="True"
            Width="100%" Height="100%" 
            LoadingPanelFadeDuration="800" LoadingPanelFadeMaximumOpacity="80">
            <Content>
                <asp:Panel ID="Panel1" runat="server">
<div id="grid" style="  margin:20px; border: 1px solid #C1DAD7; ">
<%=xjc.ToString()%>
</div>
     </asp:Panel>
            </Content>
            <ClientEvents>
         <CallbackComplete EventHandler="LCallBack_onCallbackComplete" />
               <%-- <CallbackError EventHandler="LCallBack_onCallbackError" />--%>
            </ClientEvents>
            <LoadingPanelClientTemplate>
                <table style="width: 100%; height: 100%;" cellspacing="0" cellpadding="0" border="0"
                    bgcolor="#e0e0e0">
                    <tr style="width: 100%; height: 100%;">
                        <td style="width: 100%; height: 100%; vertical-align: middle; text-align: center;">
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        数据载入中...&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        <img alt="" src="../images/GreenBar.gif" border="0" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
           </LoadingPanelClientTemplate>
         </nicklee:CallBack>


                 <div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
        z-index: 2; left: 0px; display: none;">
    </div>
      
    <div id="Layer2" align="center" style="position: absolute; left:200px; top:100px; z-index: 1000;  background-color: #fff; display:none;" >
      
        <input type="text" id="diss"  style=" display:none;"/>
        <input type="text" id="type"  style=" display:none;"/>

        <div style="text-align:right">
        <img src="../Images/delete.gif" style=" cursor:pointer;"  title="关闭" onclick="Lock_CheckForm(this)" />
        </div>
        <div style=" margin-top:30px; margin-bottom:30px; margin-left:10px; margin-right:10px;">
        
        <div style=" font-size:18px; color:Red; font-weight:bold; float:left; margin-right:10px;">
        您确定数据
        <br />
        <br />
       &nbsp;&nbsp; 无效作废么？
        </div>
      
        <div onclick="delss()" style="float:left;  vertical-align:top; border: 1px solid #000; padding-top:2px; padding-bottom:2px; padding-left:10px; padding-right:10px; background-color:#BAE0E3; cursor:pointer;"  >
        确定
        </div>
        </div>
        <br />
        <br />
    </div>
    </div>
    </form>
</body>
</html>
